package com.lee.init.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TranMissCreditLog {

    private Long id;
    private String loginName;
    private BigDecimal creditBefore;
    private BigDecimal creditChange;
    private BigDecimal creditAfter;
    private Date createTime;
    private String remark;

    public TranMissCreditLog() {}

    public TranMissCreditLog(String loginName, BigDecimal creditBefore, BigDecimal creditChange, BigDecimal creditAfter, String remark) {
        this.loginName = loginName;
        this.creditBefore = creditBefore;
        this.creditChange = creditChange;
        this.creditAfter = creditAfter;
        this.remark = remark;
    }
}
